package com.ice.api.system.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.ice.api.system.fallback.AuthServiceFallback;

/**
 * 权限验证
 * @author Palo
 *
 */
@FeignClient(value = "authority-service",fallback = AuthServiceFallback.class)
public interface IAuthService {

	@RequestMapping(value = "/jwt/verify", method = RequestMethod.GET)
	boolean checkAuthToken(@RequestParam("token")String token);

}
